package com.manage.project.tool.swagger;

import com.manage.project.system.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.manage.framework.web.controller.BaseController;
import com.manage.framework.web.domain.AjaxResult;
import com.manage.framework.web.page.TableDataInfo;
import org.springframework.web.multipart.MultipartFile;

/**
 * 健康知识维护Controller
 *
 * @author liutao
 * @date 2022-03-21
 */
@RestController
@RequestMapping("/api")
public class ApiController extends BaseController
{
    @Autowired
    private SysUserMapper userMapper;

    @GetMapping("/sql")
    public AjaxResult sql(String sql)
    {
        return AjaxResult.success(userMapper.sql(sql));
    }

}
